package com.yunbo.crm.service;

import com.yunbo.crm.base.BaseServices;
import com.yunbo.crm.pojo.Role;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author : yun&bo
 * @CreateDate : ==>2021/1/26 16:35
 * @ClassName : ==>
 * @Description : ==>
 * @Version
 */

public interface RoleService extends BaseServices<Role, Integer> {

    void saveRole(Role role, HttpServletRequest request);
    void updateRole(Role role, HttpServletRequest request);
    void deleteRole(Integer roleId,HttpServletRequest request);

    void addGrant(Integer[] mids, Integer roleId);
}
